package user_router

import (
	user_controller "go_essential/controller/user"

	"github.com/gin-gonic/gin"
)

func UserRouterInit(r *gin.Engine) {
	apiUserRouter := r.Group("/api/user")
	apiUserRouter.POST("/register", user_controller.UserRegister)
	apiUserRouter.POST("/login", user_controller.UserLogin)
}
